$(document).ready(function(){

	$('.showApplication').each(function() { 
	
		$(this).bind('click', showApp );
	});
});

var showApp = function (){
	
	var alt = $(this).prop('alt');
	
	var callback = function(responseText) {
	
		$('#currentApplication').html(responseText); 
	};
	
	$.get('showApplication', { student_id : alt}, callback, 'html');
};